package edu.dqsy.mzq_translate;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;

public class splash extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        //Handler
        new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {
            @Override
            public void run() {
                // Intent 显示意图 显示启动  alt + Enter :快速修正
                Intent intent = new Intent(splash.this , denglu.class);
                intent.putExtra("psg","mazequn");
                startActivity(intent);
                //结束Activity
                splash.this.finish();
            }
        },2000);
    }
    }
